method URLSearchParams.[Symbol.iterator]privateURLSearchParams.[Symbol.iterator](): IterableIterator<[string, string]>DeprecatedReturns an iterator allowing to go through all key/value pairs contained in this object. const params = new URLSearchParams([["a", "b"], ["c", "d"]]); for (const [key, value] of params) { console.log(key, value); } Return TypeIterableIterator<[string, string]>